<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
   
<form method="post" action="/Orcamento/fund/save">
	<fieldset>
		<legend>Fundo</legend>
		<label>
			Evento
			<select name="fund.event.id" required>
				<option value="">Selecione um evento</option>
				<c:forEach items="${events}" var="event">
					<option value="${event.id}">${event.name}</option>
				</c:forEach>
			</select>
		</label>
		<label>
			Valor Inicial
			<input type="text" name="fund.startMoney" required placeholder="Valor Inicial do Fundo" class="money" />
		</label>
		
		<button type="submit" class="btn" id="submit">Cadastrar</button>
	</fieldset>
</form>